package com.boat.ai.dto.req;

import jakarta.validation.constraints.NotBlank;
import org.eclipse.microprofile.openapi.annotations.media.Schema;

@Schema(description = "文档片段对象")
public record KwSegmentReq(
        @NotBlank(message = "片段标题不能为空")
        @Schema(description = "片段标题", required = true)
        String tag,
        @NotBlank(message = "片段内容不能为空")
        @Schema(description = "片段内容", required = true)
        String segment) {
}